package utils.logUtils;

/**
 * @author YP
 * @time 2019/8/12 20:01
 */
public class LogSearch {

  private Integer page;

  private Integer limit;

  private String operator;

  private Integer operTypeId;
  private  String operType;


  private String timeStart;

  private String timeEnd;

  public LogSearch() {
  }

  public LogSearch(Integer page, Integer limit, String operator, Integer operTypeId,String operType,
      String timeStart, String timeEnd) {
    this.page = page;
    this.limit = limit;
    this.operator = operator;
    this.operTypeId = operTypeId;
    this.operType = operType;
    this.timeStart = timeStart;
    this.timeEnd = timeEnd;
  }

  public Integer getPage() {
    return page;
  }

  public void setPage(Integer page) {
    this.page = page;
  }

  public Integer getLimit() {
    return limit;
  }

  public void setLimit(Integer limit) {
    this.limit = limit;
  }

  public String getOperator() {
    return operator;
  }

  public void setOperator(String operator) {
    this.operator = operator;
  }

  public Integer getOperTypeId() {
    return operTypeId;
  }

  public void setOperTypeId(Integer operTypeId) {
    this.operTypeId = operTypeId;
  }

  public String getOperType() { return operType; }

  public void setOperType(String operType) { this.operType = operType; }

  public String getTimeStart() {
    return timeStart;
  }

  public void setTimeStart(String timeStart) {
    this.timeStart = timeStart;
  }

  public String getTimeEnd() {
    return timeEnd;
  }

  public void setTimeEnd(String timeEnd) {
    this.timeEnd = timeEnd;
  }

  @Override
  public String toString() {
    return "LogSearch{" +
        "page=" + page +
        ", limit=" + limit +
        ", operator='" + operator + '\'' +
        ", operTypeId=" + operTypeId +
        ",operType="+operType+ '\'' +
        ", timeStart='" + timeStart + '\'' +
        ", timeEnd='" + timeEnd + '\'' +
        '}';
  }
}
